/************************/
/*** JoomDesign. Blank template for Joomla 2.5.x ***/
/***********************/

html, body {
    height:100%;
    border:0;
    margin:0;
    padding:0;
    text-align:left;
    vertical-align:baseline;
    
    color: #333333;
    font: 13px/18px Arial,Helvetica,sans-serif;
    margin: 0 auto;
    background: url(../images/bodybg.png) top left repeat-x;
    
}

.bottombg{
    background: url(../images/bodybg_down.png) bottom left repeat-x;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 120px;
    z-index: 99;
}

.bottombgimg{
    background: url(../images/body_tx_down.png) bottom left repeat-x;
    height: 20px;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 101;
}



#fontmin.contentdiv{
    font-size: .95em;
}

#fontmax.contentdiv{
    font-size: 1.2em;
    line-height: 1.2em;
}

#fontmax1.contentdiv{
    font-size: 1.3em;
    line-height: 1.25em;
}

#fontmax2.contentdiv{
    font-size: 1.4em;
    line-height: 1.3em;
}

.bodyhead{
    position: absolute;
    top: 0; left: 0;
    height: 14px;
    background: url(../images/body_tx.png) top left repeat-x;
    width: 100%;
    z-index: 102;
}
    

#centerdiv img{
    max-width: 100%!important;
    max-height: 100%!important;
}
 
#wrap{
    width: 100%;
    position: relative;
}

.mainwidth{
    position:relative;
    margin: 0px auto;
   

    /*width: 1008px;*/
    z-index: 100;

    max-width: 1200px;
    min-width: 1000px;
}


#wrap .fll{
    float: left;
}

#wrap .flr{
    float: right;
}

#wrap .mb20{
    margin-bottom: 20px;
}

#wrap .p5{
    padding: 5px;
}
 
.contentdiv {
    padding:20px 20px 0 20px;
    background: #fff;
    box-shadow: 0 5px 10px #ccc;
}
 
#footer {
    color: #959595;
    height: 148px;
    background: url(../images/footer_bg.png) bottom center no-repeat;
    padding: 128px 0 0;
    font-size: .9em;
}
 
#footerin{
    padding: 25px 0 0 0;
    border-top: 5px solid #add9da;
}

.footerblock{
    width: 32%;
    float: left;
}

.footerblock.right{
    float: right;
    position: relative;
  
}

.footerblock.center{
    margin:0 2%;
}

.footerblock ul.menu{
    margin: 0; padding: 0 0 20px;
}

.footerblock ul.menu li{
    float: right;
    line-height: 1;
    margin: 0 0px 0 10px;
    border-right: 1px solid #005B7F;
    padding-right: 10px;
}

.footerblock ul.menu li.first{
    border: none;
    padding: 0;
}

.footerblock.right .custom a{
    color: #959595;

}
 
.empty_inner {height:20px;}

#header{
    height: 169px;
    
    position: relative;
    z-index: 100;
    padding: 36px 0 0 0;
    margin: 0 0 5px;
}

a.logo,
a.logo:visited{
    display: block;
    width: 457px;
    height: 110px;
    margin: 0 0 24px 20px;
    position: relative;
    z-index: 110;
}


a.linksoc,
a.linksoc:visited,
a.linksoc:hover{
    line-height: .5; text-decoration: none;
    }

.btnhome{
    text-align: center;
}
.btnhome a img{
    margin: 10px;
}

.btnhome a,
.btnhome a:visited,
.btnhome a:hover{
    text-decoration: none;
}

.navbuttons{
    background: #e8e9d9;
    height: 44px;
    width: 228px;
    position: absolute;
    bottom: -10px;
    left: 0;
    text-align: center;
}

a.topl,
a.topl:visited{
    display: inline-block;
    width: 18px; height: 18px;
    background: url(../images/navbuttons.png) top left no-repeat;
    padding: 0 10px;
    margin: 10px 0 0;
}

a.topl.map,
a.topl.map:visited{
    background-position: 0 -18px;
}

a.topl.mail,
a.topl.mail:visited{
    background-position: 0 -36px;
}

div#centerdiv {
    float: left;
    position: relative;
    width: 100%;
    padding: 0;
}

div#content-threecol {
    padding: 0 250px;
}

.full div#content-threecol{
    padding: 0;
}

.leftcol div#content-threecol{
    padding: 0 0 0 250px;
}

.rightcol div#content-threecol{
    padding: 0 250px 0 0;
}

#leftcol {
    float: left;
    margin-left: -100%;
    position: relative;
    width: 230px;
    
}

#rightcol {
    float: left;
    margin-left: -230px;
    position: relative;
    width: 230px;
}

/*** LINKS ***/

a, a:visited{
    color: #005b7f;
    text-decoration: underline;
    transition: color .1s ease 0s;
}

a:hover{
    
    text-decoration: none;
}

a:active{

}

p{
    margin:0 0 .5em;
}


/*** BUTTONS ****/

input.button,
button[type="submit"]{
    font-size: .9em;
    margin:5px 5px 5px 0 ;
    padding: 4px 15px;
    height:auto;
    outline: none;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    color: #666;
    border: 1px solid #ccc;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #999;
    text-shadow: 1px 1px #fff;
    background: -moz-linear-gradient(top,  #fefefe 0%, #dbdbdb   100%); 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#dbdbdb  )); 
    background: -webkit-linear-gradient(top,  #fefefe 0%,#dbdbdb   100%); 
    background: -o-linear-gradient(top,  #fefefe 0%,#dbdbdb   100%); 
    background: -ms-linear-gradient(top,  #fefefe 0%,#dbdbdb   100%); 
    background: linear-gradient(top,  #fefefe 0%,#dbdbdb   100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#dbdbdb',GradientType=0 ); 
    background-color: #dbdbdb;
}

input.button::-moz-focus-inner,
button[type="submit"]::-moz-focus-inner{
    border:0;
}

input.button:hover,
button[type="submit"]:hover{
    background: -moz-linear-gradient(top,  #fefefe 0%, #cecece   100%); 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#cecece  )); 
    background: -webkit-linear-gradient(top,  #fefefe 0%,#cecece   100%); 
    background: -o-linear-gradient(top,  #fefefe 0%,#cecece   100%); 
    background: -ms-linear-gradient(top,  #fefefe 0%,#cecece   100%); 
    background: linear-gradient(top,  #fefefe 0%,#cecece   100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#cecece',GradientType=0 ); 
    background-color: #cecece;
}

input.button:active,
button[type="submit"]:active{
    border: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #e8e8e8;
    box-shadow: inset 0 1px 2px #ccc;
    text-shadow:none;
}
/************/



/**** HEADERS ***/

h1,h2,h3,h4{
    font-weight: 400;
    margin: 0 0 .3em;
    line-height: 1.2em;
}

h1{
    font-size: 200%;
}

h2{
    font-size: 180%;
}

h3{
    font-size: 150%;
}

.ssil2
{
	color: #ffffff !important;
	text-decoration: none;
}
.ssil2 a
{
	color: #ffffff !important;
	text-decoration: none;
}
.ssil2 a:visited
{
	color: #ffffff !important;
	text-decoration: none;
}
.ssil2 a:link
{
	color: #ffffff !important;
	text-decoration: none;
}
.ssil2 a:hover
{
	color: #ffffff !important;
	text-decoration: none;
/****************/